<html>
<head><meta charset="utf-8"><title>diagnostics · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html">diagnostics</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="174151749"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174151749" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174151749">(Aug 26 2019 at 15:31)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="119031">@Esteban Küber</span> -- we never got a chance to dig more into your thoughts re: <code>async fn</code> diagnostics. I thought it was a good idea in general though to try and focus our <strong>immediate</strong> efforts on "polish", in the form of diagnostics and other small fixes. Not sure if you had a more concrete list of scenarios that you were concerned about? I forget what you said.</p>



<a name="174151926"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174151926" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174151926">(Aug 26 2019 at 15:32)</a>:</h4>
<p>I have this pr that brings a semblance of parity between e0308 and e0277 errors for the same mistake <a href="https://github.com/rust-lang/rust/pull/63870" target="_blank" title="https://github.com/rust-lang/rust/pull/63870">https://github.com/rust-lang/rust/pull/63870</a></p>



<a name="174152084"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174152084" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174152084">(Aug 26 2019 at 15:34)</a>:</h4>
<p>But the way we make new obligations with spans pointing at the fn call instead of the arg that failed to meet the obligation doesn't allow me to give a suggestion and is a long standing issue that causes confusion in a regular basis</p>



<a name="174152410"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174152410" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174152410">(Aug 26 2019 at 15:38)</a>:</h4>
<p>That being said i would like to see people that are using async often to file tickets about errors that are not at parity</p>



<a name="174152467"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174152467" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174152467">(Aug 26 2019 at 15:39)</a>:</h4>
<p>The improvements for async will be improvements for assoc types and for imp trait errors, so I can look at the backlog for those</p>



<a name="174161439"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/diagnostics/near/174161439" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/diagnostics.html#174161439">(Aug 26 2019 at 17:38)</a>:</h4>
<p>Another thing that might pop up <a href="https://github.com/rust-lang/rust/issues/63167#issuecomment-524728779" target="_blank" title="https://github.com/rust-lang/rust/issues/63167#issuecomment-524728779">https://github.com/rust-lang/rust/issues/63167#issuecomment-524728779</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>